package com.lizhi.yun.db.stand.dao;


import com.lizhi.yun.db.stand.pojo.StandPrescriptionActionPOJO;
import com.lizhi.mybatis.interceptor.PageBounds;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface StandPrescriptionActionDao{

	public int insertRecord(StandPrescriptionActionPOJO record);//添加一条完整记录

	public int deleteById(String preActionId, String preId, String hospitalId, String hospitalSystemId);//通过Id(主键)删除一条记录

	public int deleteListById(String preId, String hospitalId, String hospitalSystemId);//通过Id(主键)删除一条记录

	public int updateByIdSelective(StandPrescriptionActionPOJO record);//按Id(主键)修改指定列的值

	public StandPrescriptionActionPOJO selectById(String preActionId, String preId, String hospitalId, String hospitalSystemId);//通过Id(主键)查询一条记录

	public List<StandPrescriptionActionPOJO> selectAll(StandPrescriptionActionPOJO record, PageBounds pageBounds);//根据条件查询

	public List<StandPrescriptionActionPOJO> selectByMap(Map<String, Object> paramMap, PageBounds pageBounds);//根据条件查询


}